<?php
getDB();
class moneylogData extends DBData
{
    public $tablename;
    public function __construct()
    {
        $this->tablename = "x_user_moneylog";
        DBData::$tableName = 'x_user_moneylog';
    }
    /*
        $moneylogArr = array('uid'=>$uid,'act_money'=>$server_fee,'tp'=>91,'is_succ'=>1,'serverid'=>0,'ordermainid'=>0,
            'add_time'=>$timer,'bz'=>'提现手续费','ip'=>DBData::getip(),'serials'=>ConstModel::getserials(),'from_act'=>'-','tab'=>'','tab_id'=>0
        ); 
        $moneylogArr = array_merge($moneylogArr, $moneyInfo);
        $moneylogD->intotable($moneylogArr, $moneylogD->tablename);
     * 
     * 
     *      */

    public function del($id)
    {
        $where = ['id'=>$id];
        $this->deltable($where,$this->tablename);
    }
}
?>